import websocket

from app01 import views
from django.urls import path
urlpatterns = [
    path('get1/', views.TestWebsocket.as_view()),
    path('login/', views.LoginView.as_view()),
    path('admin/',views.AdminRole.as_view()),
    path('admin/del/',views.AdminDel.as_view()),
    path('role/',views.RoleList.as_view()),
    path('role/del/',views.RoleDel.as_view()),
    path('role/up/',views.RoleUpdate.as_view()),
    path('resource/', views.ResourceList.as_view()),
    path('resource/del/', views.ResourceDel.as_view()),
    path('resource/up/', views.ResourceUpdate.as_view()),
    path('rr/',views.RoleResourceList.as_view()),
    path('rr/del/',views.RoleResourceDel.as_view()),
    path('rr/up/',views.RoleResourceUpdate.as_view()),
    ]